// Container and layout
.container {
  max-width: 384px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  background-color: var(--theme-bg-primary);
  color: var(--theme-text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

// Header styles
.header {
  padding: 16px 0;
  margin-bottom: 8px;
  
  :global {
    .adm-nav-bar {
      background-color: var(--theme-bg-primary);
      color: var(--theme-text-primary);
    }
  }
}

// Hero section with background image
.heroSection {
  height: 240px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  margin-bottom: 24px;
  overflow: hidden;
}

.heroOverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px 16px;
  display: flex;
  justify-content: flex-end;
}

.viewCount {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  color: var(--theme-text-primary);
  font-size: 14px;
  font-weight: 500;
}

// Content wrapper
.contentWrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 120px;
}

// Title section
.titleSection {
  .title {
    font-size: 24px;
    font-weight: bold;
    color: var(--theme-text-primary);
    margin: 0 0 12px 0;
    line-height: 1.3;
  }
  
  .description {
    font-size: 16px;
    color: var(--theme-text-muted);
    line-height: 1.5;
    margin: 0;
  }
}

// Section styles
.section {
  .sectionTitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--theme-text-primary);
    margin: 0 0 16px 0;
  }
}

// Role list
.roleList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roleCard {
  background-color: var(--theme-bg-card);
  border: 1px solid var(--theme-border-primary);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.2s ease;
  
  &:hover {
    border-color: var(--theme-primary);
    transform: translateY(-2px);
  }
}

.roleHeader {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.roleAvatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--theme-border-primary);
}

.roleName {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-text-primary);
  margin: 0;
}

.roleDescription {
  font-size: 14px;
  color: var(--theme-text-muted);
  line-height: 1.5;
  margin: 0;
}

// Author card
.authorCard {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--theme-bg-card);
  border: 1px solid var(--theme-border-primary);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.2s ease;
  
  &:hover {
    border-color: var(--theme-primary);
  }
}

.authorAvatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--theme-border-primary);
}

.authorName {
  font-size: 16px;
  font-weight: 500;
  color: var(--theme-text-primary);
}

// Action section
.actionSection {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.actionButton {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-hover));
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
  
  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
  }
  
  &:active {
    transform: translateY(0);
  }
}
